import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import '@/styles/common.scss'
import { lazyPlugin } from '@/directives/index'
import { componentPlugin } from './components'
import persist from 'pinia-plugin-persistedstate'


const app = createApp(App)

app.use(router)
app.use(lazyPlugin)
app.use(componentPlugin)
app.use(createPinia().use(persist))


app.mount('#app')
